package com.shop.cereshop.admin.service.order;

import com.shop.cereshop.commons.domain.order.CereShopOrder;
import com.shop.cereshop.commons.domain.product.CereProductSku;
import com.shop.cereshop.commons.exception.CoBusinessException;

import java.util.List;

public interface CereShopOrderService {
    void updateAfterState(CereShopOrder cereShopOrder) throws CoBusinessException;

    void insert(CereShopOrder order) throws CoBusinessException;

    void updateState(CereShopOrder cereShopOrder) throws CoBusinessException;

    void updateBatchStock(List<CereProductSku> skus) throws CoBusinessException;
}
